<?php
/**
 *  User: myy
 *  Date: 2024/11/29
 *  Desc:
 */

namespace Union\Pay\Service\Wechat;

use Union\Pay\Service\BasePost;

class MiniPre extends BasePost
{
    protected $api = '/netpay/wx/mini-pre-order';
    /**
     * @var array $body 请求参数
     */
    protected $body = [
        'tradeType' => '',
        'instMid' => 'MINIDEFAULT'
    ];
    /**
     * 必传的值
     * @var array
     */
    protected $require = ['requestTimestamp', 'merOrderId', 'mid', 'tid', 'totalAmount'];
}
